#ifndef SERIESPREVIEW_H
#define SERIESPREVIEW_H

#include "ui_SeriesPreview.h"
#include <QDialog>
#include <boost/noncopyable.hpp>
#include "../storage/Series.h"

namespace LightChart
{
    class SeriesPreview : public QDialog, private Ui_SeriesPreview, public boost::noncopyable
    {
	Q_OBJECT
    public:
	static SeriesPreview& get_instance(QWidget* parent) { static SeriesPreview instance(parent); return instance; }
	void displaySeries(Series* series);
    private slots:
	void onClose();
    private:
	SeriesPreview(QWidget* parent);
    };
}

#endif // SERIESPREVIEW_H
